/*jslint node:true*/
/*global angular*/
'use strict';
var app = angular.module('myApp', ['ngRoute']);
app.controller('HomeController', function ($scope, $route) {
    $scope.$route = $route;
});
app.controller('AboutController', function ($scope, $route) {
    $scope.$route = $route;
});
app.config(['$routeProvider', function ($routeProvider) {
    $routeProvider
        .when('/home', {templateUrl: 'aaaaa', controller: 'HomeController'})
        .when('/about', {templateUrl: 'bbbbb', contrller: 'AboutController'})
        .otherwise({redirectTo: '/home'});
}]);